generic function

generic function
параметризованная (родовая) функция
в C++ - процедура, которая может быть применена к данным разных типов. Задаётся с помощью ключевого слова template. Описывает общий набор операций над данными; её настройка на конкретный тип данных производится во время компиляции программы, когда известны типы операндов в вызове процедуры. В результате компиляции создаётся порождённая функция (generated function). Это позволяет отделить описание алгоритма от данных и повысить эффективность программ
см. тж. virtual function

Англо-русский толковый словарь терминов и сокращений по ВТ, Интернету и программированию. . 1998-2007.

Игры ⚽ Нужна курсовая?

Смотреть что такое "generic function" в других словарях:

  • Generic function — In certain systems for object oriented programming such as the Common Lisp Object System and Dylan, a generic function is an entity made up of all methods having the same name. Generic functions correspond roughly to what Smalltalk calls… …   Wikipedia

  • generic function — daugybinė funkcija statusas T sritis informatika apibrėžtis ↑Funkcija (3), taikoma kelių tipų ↑argumentams, o jos rezultato tipas priklauso nuo argumentų tipų. Pavyzdžiui, skaičiaus modulio funkcija abs(a) yra daugybinė, nes jos argumentas gali… …   Enciklopedinis kompiuterijos žodynas

  • Generic — means pertaining or appropriate to large classes or groups as opposed to specific members of the group. It may refer to:* Generic mood, a grammatical mood used to make generalized statements like Snow is white * Generic antecedents, referents in… …   Wikipedia

  • Function object — A function object, also called a functor or functional, is a computer programming construct allowing an object to be invoked or called as if it were an ordinary function, usually with the same syntax.Function objects are unrelated to functors in… …   Wikipedia

  • Function pointer — A function pointer is a type of pointer in C, C++, D, and other C like programming languages, and Fortran 2003.[1] When dereferenced, a function pointer can be used to invoke a function and pass it arguments just like a normal function. In… …   Wikipedia

  • Generic programming — is a style of computer programming in which algorithms are written in terms of to be specified later types that are then instantiated when needed for specific types provided as parameters and was pioneered by Ada which appeared in 1983. This… …   Wikipedia

  • Generic antecedent — Generic antecedents are representatives of classes, indicated by a reference in ordinary language (most often a pronoun), where gender is typically unknown or irrelevant. [Mark Balhorn, [http://eng.sagepub.com/cgi/content/abstract/32/2/79 The… …   Wikipedia

  • generic — ge·ner·ic /jə ner ik/ adj 1: common or descriptive and not entitled to trademark protection: nonproprietary the generic name of a drug 2: having a nonproprietary name generic drugs M …   Law dictionary

  • Generic Routing Encapsulation — (GRE) is a tunneling protocol designed to encapsulate a wide variety of network layer packets inside IP tunneling packets. The original packet is the payload for the final packet. The protocol is used on the Internet to secure virtual private… …   Wikipedia

  • Generic property — In mathematics, properties that hold for typical examples are called generic properties. For instance, a generic property of a class of functions is one that is true of almost all of those functions, as in the statements, A generic polynomial… …   Wikipedia

  • Function field of an algebraic variety — In algebraic geometry, the function field of an algebraic variety V consists of objects which are interpreted as rational functions on V . In complex algebraic geometry these are meromorphic functions and their higher dimensional analogues; in… …   Wikipedia


Поделиться ссылкой на выделенное

Прямая ссылка:
Нажмите правой клавишей мыши и выберите «Копировать ссылку»